//
//  AllUrls.h
//  JJEW_COMPANY
//
//  Created by zhangbo on 2017/3/18.
//  Copyright © 2017年 admin. All rights reserved.
//
#ifndef AllUrls_h
#define AllUrls_h
/*正式 服务器地址*/
//#define SERVER_DOMAIN       @"http://huo.fuyoukache.com"
/*测试 服务器地址*/
//http://39.105.116.223:8080
//#define SERVER_DOMAIN       @"http://192.168.1.6:8080"
#define SERVER_DOMAIN       @"http://39.105.116.223:8080"
//#define SERVER_DOMAIN       @"http://192.168.1.188:8081/jnzx-dlhf-api"
//#define SERVER_DOMAIN       @"http://192.168.1.6:8090/jnzx-dlhf-api"
//#define SERVER_DOMAIN       @"http://192.168.1.158:8093/jnzx-dlhf-api"
//#define SERVER_DOMAIN       @"http://47.92.78.4:8082"
#define IMAGE_DOMAIN        @"http://47.92.78.4:8086"
//Ro8*uJjR#WqkR,M,

/**
 *登录
 */
#define  kUrlLogin         [NSString stringWithFormat:@"%@/user/login",SERVER_DOMAIN]
/**
 *发送验证码
 */
#define  kUrlSendMessage         [NSString stringWithFormat:@"%@/user/sendMessage",SERVER_DOMAIN]


/**
 *注册
 */
#define  kUrlRegister         [NSString stringWithFormat:@"%@/user/register",SERVER_DOMAIN]

/**
 *修改密码
 */
#define  kUrlUpdatePassword         [NSString stringWithFormat:@"%@/user/updatePassword",SERVER_DOMAIN]

/**
 *用户信息
 */
#define  kUrlUserInfo        [NSString stringWithFormat:@"%@/user/getUserInfo",SERVER_DOMAIN]

/**
 * 获取媒体推荐列表
 */
#define  kUrlRecommendMediaList        [NSString stringWithFormat:@"%@/media/getRecommendMediaList",SERVER_DOMAIN]
/**
 *获取媒体类型
 */
#define  kUrlGetMediaType       [NSString stringWithFormat:@"%@/media/getType",SERVER_DOMAIN]

/**
 *根据类型获取媒体属性 /media/getAttrByTypeId
 */
#define  kUrlGetAttrByTypeId       [NSString stringWithFormat:@"%@/media/getAttributeByTypeId",SERVER_DOMAIN]

/**
 *获取所有城市
 */
#define  kUrlGetCityList       [NSString stringWithFormat:@"%@/area/getCityList",SERVER_DOMAIN]

#define  kUrlGetMediaList       [NSString stringWithFormat:@"%@/media/getMediaList",SERVER_DOMAIN]

/**
 *根据媒体id获取媒体详情/media/getMediaDetail
 */
#define  kUrlGetMediaDetail       [NSString stringWithFormat:@"%@/media/getMediaDetail",SERVER_DOMAIN]

/**
 * /demand/insertDemand 提交需求
 */
#define  kUrlUpDateDemand     [NSString stringWithFormat:@"%@/demand/insertDemand",SERVER_DOMAIN]

/**
 * /user/getUserInfo 获取用户信息
 */
#define  kUrlGetUserInfo     [NSString stringWithFormat:@"%@/user/getUserInfo",SERVER_DOMAIN]
/**
 * /collect/getList 收藏列表
 */
#define  kUrlGetCollectionList     [NSString stringWithFormat:@"%@/collect/getList",SERVER_DOMAIN]
/**
 * /addFeed  添加意见反馈
*/
#define  kUrlAddFeed     [NSString stringWithFormat:@"%@/addFeed",SERVER_DOMAIN]
/**
 * /message/getOneMessage 获取系统消息
 */
#define  kUrlGetOneMessage     [NSString stringWithFormat:@"%@/message/getMessageList",SERVER_DOMAIN]
/**
 * /twitter/getClewList 展示推客线索
 */
#define  kUrlGetClewList     [NSString stringWithFormat:@"%@/twitter/getClewList",SERVER_DOMAIN]
/**
 * /twitter/getClewCimInfo
 */

#define  kUrlGetClewCimInfo     [NSString stringWithFormat:@"%@/twitter/getClewCimInfo",SERVER_DOMAIN]
/**
 * /twitter/getClewCimList
 */
#define  kUrlGetExtractList     [NSString stringWithFormat:@"%@/twitter/getClewCimList",SERVER_DOMAIN]
/**
 *上传图片
 */
#define  kUrlUploadImage     [NSString stringWithFormat:@"http://47.92.78.4:8086/MySpringUpload/upload/Img"]

/**
 * /twitter/addTwitter 申请推客
 */
#define  kUrlAddTwitter     [NSString stringWithFormat:@"%@/twitter/addTwitter",SERVER_DOMAIN]
/**
 * /banner/getList
 */
#define  kUrlGetImageList     [NSString stringWithFormat:@"%@/banner/getList",SERVER_DOMAIN]


/**
 * /media/getSuccessList 获取已售案列
 */
#define  kUrlGetSuccessList    [NSString stringWithFormat:@"%@/media/getSuccessList",SERVER_DOMAIN]
/**
 * /collect/insertCollect
 */
#define  kUrlInsertCollect    [NSString stringWithFormat:@"%@/collect/insertCollect",SERVER_DOMAIN]
/**
 * /collect/deleteCollect
 */
#define  kUrlDeleteCollect    [NSString stringWithFormat:@"%@/collect/deleteCollect",SERVER_DOMAIN]
/**
 * /hot/getList
 */
#define  kUrlGetHotList    [NSString stringWithFormat:@"%@/hot/getList",SERVER_DOMAIN]
#endif /* AllUrls_h */

